<?php

/*
 * 
 * 　　┏┓　　　┏┓+ +
 * 　┏┛┻━━━┛┻┓ + +
 * 　┃　　　　　　　┃ 　
 * 　┃　　　━　　　┃ ++ + + +
 *  ████━████ ┃+
 * 　┃　　　　　　　┃ +
 * 　┃　　　┻　　　┃
 * 　┃　　　　　　　┃ + +
 * 　┗━┓　　　┏━┛
 * 　　　┃　　　┃　　　　　　　　　　　
 * 　　　┃　　　┃ + + + +
 * 　　　┃　　　┃
 * 　　　┃　　　┃ +  神兽保佑
 * 　　　┃　　　┃    代码无bug　　
 * 　　　┃　　　┃　　+　　　　　　　　　
 * 　　　┃　 　　┗━━━┓ + +
 * 　　　┃ 　　　　　　　┣┓
 * 　　　┃ 　　　　　　　┏┛
 * 　　　┗┓┓┏━┳┓┏┛ + + + +
 * 　　　　┃┫┫　┃┫┫
 * 　　　　┗┻┛　┗┻┛+ + + +
 * 
 */



/*
 * @Author: zwx
 * @Date: 2024-05-31 16:51:47
 * @LastEditors: zwx
 * @LastEditTime: 2024-05-31 16:52:19
 * @Description: 用户行为记录
 */

namespace app\apiadmin\controller\live;
use think\facade\Db;
use app\common\utils\Res;
use app\common\controller\BaseController;


use app\apiadmin\controller\liveManager\LiveStatus;
use app\apiadmin\service\action\ActionService;

class Action extends BaseController
{
    

        /**
     * @author: zwx
     * @Description: 查询助教列表数据
     * @Date: 2024-06-01 17:31:31
     */    
    public function getZhuJiaoInfo(){
        

        $result = ActionService::getZhuJiaoInfo();

        return $result;

    }


            /**
     * @author: zwx
     * @Description: 查询邀请助教列表数据
     * @Date: 2024-06-01 17:31:31
     */    
    public function getYaoqingZhujiao2(){

        $param = $this->request->post();
        
        $result = ActionService::getYaoqingZhujiao2($param);

        return $result;

    }


    /**
     * @author: zwx
     * @Description: 查询用户数据列表数据
     * @Date: 2024-06-01 17:31:31
     */    
    public function getUserInfo(){
        
        $params = $this->request->post();

        $result = ActionService::getUserInfo($params);

        return $result;

    }
    
    /**
     * @author: crg
     * @Description: 查询用户数据列表数据
     * @Date: 2024-06-01 17:31:31
     */    
    public function getUserInfoDc(){
        
        $params = $this->request->post();

        $result = ActionService::getUserInfoDc($params);

        return $result;

    }


    /**
     * @author: zwx
     * @Description: 删除用户数据
     * @Date: 2024-06-01 17:44:08
     */    
    public function delUserInfo(){

        $params = $this->request->post();

        $result = ActionService::delUserInfo($params);

        return $result;

    }

        /**
     * @author: zwx
     * @Description: 批量删除用户数据
     * @Date: 2024-06-01 17:44:08
     */    
    public function pldelUserInfo(){

        $params = $this->request->post();

        $result = ActionService::pldelUserInfo($params);

        return $result;

    }

    /**
     * @author: zwx
     * @Description: 获取用户信息  单个
     * @Date: 2024-06-01 22:42:18
     */    
    public function getuser(){

        $params = $this->request->post();

        $result = ActionService::getuser($params);

        return $result;
    }


    /**
     * @author: zwx
     * @Description: 获取邀请总览信息   
     * @Date: 2024-06-01 22:42:18
     */    
    public function getyaoqing(){

        $params = $this->request->post();

        $result = ActionService::getyaoqing($params);

        return $result;
    }

            /**
     * @author: zwx
     * @Description: 获取邀请总览信息   
     * @Date: 2024-06-01 22:42:18
     */    
    public function getyaoqingzonglan(){

        $params = $this->request->post();

        $result = ActionService::getyaoqingzonglan($params);

        return $result;
    }


    /**
     * @author: zwx
     * @Description: 删除邀请总览
     * @Date: 2024-06-01 22:42:18
     */    
    public function delyaoqing(){

        $params = $this->request->post();

        $result = ActionService::delyaoqing($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 批量删除邀请总览
     * @Date: 2024-06-01 22:42:18
     */    
    public function pldelyaoqing(){

        $params = $this->request->post();

        $result = ActionService::pldelyaoqing($params);

        return $result;
    }


       /**
     * @author: zwx
     * @Description: 获取评论信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getpinglun(){

        $params = $this->request->post();

        $result = ActionService::getpinglun($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 批量删除评论
     * @Date: 2024-06-01 22:42:18
     */    
    public function pldelpinglun(){

        $params = $this->request->post();

        $result = ActionService::pldelpinglun($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 删除评论
     * @Date: 2024-06-01 22:42:18
     */    
    public function delpinglun(){

        $params = $this->request->post();

        $result = ActionService::delpinglun($params);

        return $result;
    }

        /**
     * @author: zwx
     * @Description: 添加评论
     * @Date: 2024-06-01 22:42:18
     */    
    public function addpinglun(){

        $params = $this->request->post();

        $result = ActionService::addpinglun($params);

        return $result;
    }



        /**
     * @author: zwx
     * @Description: 编辑评论
     * @Date: 2024-06-01 22:42:18
     */    
    public function editpinglun(){

        $params = $this->request->post();

        $result = ActionService::editpinglun($params);

        return $result;
    }

           /**
     * @author: zwx
     * @Description: 获取管控记录信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getguankong(){

        $params = $this->request->post();

        $result = ActionService::getguankong($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 批量删除管控记录
     * @Date: 2024-06-01 22:42:18
     */    
    public function pldelguankong(){

        $params = $this->request->post();

        $result = ActionService::pldelguankong($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 删除管控记录
     * @Date: 2024-06-01 22:42:18
     */    
    public function delguankong(){

        $params = $this->request->post();

        $result = ActionService::delguankong($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 获取邀约到课信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getyaoyue(){
        $params = $this->request->post();
        $params['userName'] = $this->request->userName;
        $params['roleId'] = $this->request->roleId;

        $result = ActionService::getyaoyue($params);

        return $result;
    }

               /**
     * @author: zwx
     * @Description: 获取营销操作信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getyingxiao(){

        $params = $this->request->post();

        $result = ActionService::getyingxiao($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 批量删除营销操作
     * @Date: 2024-06-01 22:42:18
     */    
    public function pldelyingxiao(){

        $params = $this->request->post();

        $result = ActionService::pldelyingxiao($params);

        return $result;
    }

    /**
     * @author: zwx
     * @Description: 删除营销操作
     * @Date: 2024-06-01 22:42:18
     */    
    public function delyingxiao(){

        $params = $this->request->post();

        $result = ActionService::delyingxiao($params);

        return $result;
    }

                   /**
     * @author: zwx
     * @Description: 获取营销操作信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getShijian(){

        $params = $this->request->post();

        $result = ActionService::getShijian($params);

        return $result;
    }


    /**
     * @author: zwx
     * @Description: 获取营销操作信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getjilu(){

        $params = $this->request->post();

        $result = ActionService::getjilu($params);

        return $result;
    }


        /**
     * @author: zwx
     * @Description: 获取课程购买记录信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getpayorder(){

        $params = $this->request->post();

        $result = ActionService::getpayorder($params);

        return $result;
    }


           /**
     * @author: zwx
     * @Description: 获取课程购买记录中评论信息
     * @Date: 2024-06-01 22:42:18
     */    
    public function getPingLunUser(){

        $params = $this->request->post();

        $result = ActionService::getPingLunUser($params);

        return $result;
    }
    /**
     * @author: gdq
     * @Description: 获取公告日志记录
     * @Date: 2024-06-28 15:34:30
     */
    public function getNoticeList()
    {

        $params = $this->request->post();
        $result = ActionService::getNoticeList($params);
        return $result;
    }
    /**
     * @Description 新增抽奖信息
     * @return null
     */
    public function getChouJiang()
    {
        $params = $this->request->post();
        $result = ActionService::getChouJiang($params);

        return $result;
    }
    public function getPrizeList()
    {
        $params = $this->request->post();
        $result = ActionService::getPrizeList($params);

        return $result;
    }
    public function getChouJiangUser()
    {
        $params = $this->request->post();
        $result = ActionService::getChouJiangUser($params);

        return $result;
    }
    public function getChouJiangRobot()
    {
        $params = $this->request->post();
        $result = ActionService::getChouJiangRobot($params);
        return $result;
    }
    public function getEditChouJiangUser()
    {
        $params = $this->request->post();
        $result = ActionService::getEditChouJiangUser($params);

        return $result;
    }
    public function getEditChouJiangRobot()
    {
        $params = $this->request->post();
        $result = ActionService::getEditChouJiangRobot($params);
        return $result;
    }
    public function getAllChouJiangUser()
    {
        $params = $this->request->post();
        $result = ActionService::getAllChouJiangUser($params);

        return $result;
    }

    public function getAllChouJiangRobot()
    {
        $params = $this->request->post();
        $result = ActionService::getAllChouJiangRobot($params);
        return $result;
    }
    /**
     * @author: gdq
     * @Description: 获取小黑板日志记录
     * @Date: 2024-06-28 15:34:30
     */
    public function getBlackbordList(){

        $params = $this->request->post();

        $result = ActionService::getBlackbordList($params);

        return $result;
    }
    
    /**
     * 邀约到课看板
     * cc
     */
    public function daokekanban(){

        $params = $this->request->post();
        $params['userName'] = $this->request->userName;
        $params['roleId'] = $this->request->roleId;

        $result = ActionService::getDaokekanban($params);

        return $result;
    }
    
    /**
     * 邀约到课用户
     * cc
     */
    public function yaoyueDaokeUser(){
        ini_set('max_execution_time', 0);
        $params = $this->request->post();

        $result = ActionService::getYaoyueDaokeUser($params);

        return $result;
    }
}